<template>
  <div class="conpanyqa">
    <div class="title">公司问答</div>
    <div class="list">
      <div class="item" v-for="item in companyqa" :key="item.id">
        <div class="question">{{item.qa_question}}</div>
        <div class="answer">{{item.qa_answer}}</div>
        <div class="date">{{item.qa_date}}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "cDetailConpanyqa",
  components: {},
  data() {
    return {};
  },
  props: {
    companyqa:Array
  },
  computed: {},
  methods: {},
  mounted() {}
};
</script>

<style lang="scss" scoped>
.conpanyqa {
  position: relative;
  .title {
    margin-top: 0.3rem;
    margin-left: 0.3rem;
    font-size: 0.45rem;
    font-weight: bold;
  }
  .list {
    position: relative;
    .item {
      position: relative;
      width: 100vw;
      height: 1rem;
      margin-top: 0.3rem;
      padding-bottom: 0.3rem;
      border-bottom: 0.01rem solid #bbbbbb;
      .question {
        margin-left: 0.5rem;
        color: #444;
        font-size: 0.4rem;
      }
      .answer {
        margin-top: 0.2rem;
        margin-left: 1rem;
        color: #777;
        font-size: 0.3rem;
      }
      .date{
          position: absolute;
          right: 0.4rem;
        //   margin-left: 2rem;
      }
    }
  }
}
</style>